﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace twilters
{
    public class FilterParameter
    {
        private TweetField field;
        private Object value;
        private MatchType matchType;

        public FilterParameter()
        {
        }

        public FilterParameter(TweetField field, Object value, MatchType matchType)
        {
            this.field = field;
            this.value = value;
            this.matchType = matchType;
        }

        public TweetField Field
        { 
            get { return field; }
            set { field = value; } 
        }

        public Object Value
        {
            get { return this.value; }
            set { this.value = value; }
        }

        public MatchType GetMatchType()
        {
            return matchType;
        }
    }

    public enum MatchType
    {
        Exact, Bigger, Smaller, Contains
    }
}
